﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Moon.Sql
{
    public interface IUnitOfWork : IDisposable
    {
        IMoonSql[] Contexts { get; }
        IsolationLevel IsolationLevel { get; set; }
        void Begin();
        void Commit();
        void Rollback();
    }
}
